// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-15

package arcade

type (
	// Manager
	// 钓场管理器.
	Manager interface {
		GetMaster() Master
	}

	manager struct {
		master Master
	}
)

func New() Manager {
	return &manager{
		master: (&master{}).init(),
	}
}

// +---------------------------------------------------------------------------+
// | Interface methods                                                         |
// +---------------------------------------------------------------------------+

func (o *manager) GetMaster() Master {
	return o.master
}
